//-----------------------------------------------------------------------
// <copyright file="HelpBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class HelpBase
	{
		
		#region Variable Declarations
		public static string _Table = "Help";
		private long				helpId = 0;
		private long				catId = 0;
		private string				title = string.Empty;
		private string				summary = string.Empty;
		private string				content = string.Empty;
		private string				thumnailImage = string.Empty;
		private string				detailImage = string.Empty;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				updatedDate = new DateTime(1900,1,1,0,0,0,0);
		private long				order = 0;
		private bool				enable = false;
		private long				userId = 0;
		private int				statusId = 0;
		#endregion
		
		#region Constructors
		public HelpBase() {}
		
		public HelpBase (
			long helpId,
			long catId,
			string title,
			string summary,
			string content,
			string thumnailImage,
			string detailImage,
			DateTime createdDate,
			DateTime updatedDate,
			long order,
			bool enable,
			long userId,
			int statusId)
		
		{
			this.helpId = helpId;
			this.catId = catId;
			this.title = title;
			this.summary = summary;
			this.content = content;
			this.thumnailImage = thumnailImage;
			this.detailImage = detailImage;
			this.createdDate = createdDate;
			this.updatedDate = updatedDate;
			this.order = order;
			this.enable = enable;
			this.userId = userId;
			this.statusId = statusId;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long HelpId
		{
			get { return helpId; }
			set { helpId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CatId
		{
			get { return catId; }
			set { catId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Summary
		{
			get { return summary; }
			set { summary = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Content
		{
			get { return content; }
			set { content = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ThumnailImage
		{
			get { return thumnailImage; }
			set { thumnailImage = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string DetailImage
		{
			get { return detailImage; }
			set { detailImage = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime UpdatedDate
		{
			get { return updatedDate; }
			set { updatedDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long UserId
		{
			get { return userId; }
			set { userId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StatusId
		{
			get { return statusId; }
			set { statusId = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum HelpColumns
	{
		HelpId,
		CatId,
		Title,
		Summary,
		Content,
		ThumnailImage,
		DetailImage,
		CreatedDate,
		UpdatedDate,
		Order,
		Enable,
		UserId,
		StatusId
	}//End enum
}